package com.ruoyi.system.domain;

import java.io.File;
import java.sql.Timestamp;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.poi.hpsf.Decimal;
import org.springframework.web.multipart.MultipartFile;

/**
 * 【请填写功能名称】对象 sys_topic
 * 
 * @author ruoyi
 * @date 2024-10-26
 */
public class SysTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long topicid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String title;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String word;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String keyword;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long typeid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cover;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float downpay;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float discount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float totalpay;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long docnum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long size;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String docs;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long readcount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long downcount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String note;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isimp;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isvip;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isdel;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Timestamp insertdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer state;

    public String getTopsize() {
        return topsize;
    }

    public void setTopsize(String topsize) {
        this.topsize = topsize;
    }

    private  String topsize;

    public void setTopicid(Long topicid) 
    {
        this.topicid = topicid;
    }

    public Long getTopicid() 
    {
        return topicid;
    }

    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }

    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }

    public void setTypeid(Long typeid) 
    {
        this.typeid = typeid;
    }

    public Long getTypeid() 
    {
        return typeid;
    }

    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }

    public void setDownpay(Float downpay)
    {
        this.downpay = downpay;
    }

    public Float getDownpay()
    {
        return downpay;
    }

    public void setDiscount(Float discount)
    {
        this.discount = discount;
    }

    public Float getDiscount()
    {
        return discount;
    }

    public void setTotalpay(Float totalpay)
    {
        this.totalpay = totalpay;
    }

    public Float getTotalpay()
    {
        return totalpay;
    }

    public void setDocnum(Long docnum) 
    {
        this.docnum = docnum;
    }

    public Long getDocnum() 
    {
        return docnum;
    }

    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }

    public void setDocs(String docs) 
    {
        this.docs = docs;
    }

    public String getDocs() 
    {
        return docs;
    }

    public void setReadcount(Long readcount) 
    {
        this.readcount = readcount;
    }

    public Long getReadcount() 
    {
        return readcount;
    }

    public void setDowncount(Long downcount) 
    {
        this.downcount = downcount;
    }

    public Long getDowncount() 
    {
        return downcount;
    }

    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    public void setIsimp(Integer isimp) 
    {
        this.isimp = isimp;
    }

    public Integer getIsimp() 
    {
        return isimp;
    }

    public void setIsvip(Integer isvip) 
    {
        this.isvip = isvip;
    }

    public Integer getIsvip() 
    {
        return isvip;
    }

    public void setIsdel(Integer isdel) 
    {
        this.isdel = isdel;
    }

    public Integer getIsdel() 
    {
        return isdel;
    }

    public void setInsertdate(Timestamp insertdate)
    {
        this.insertdate = insertdate;
    }

    public Timestamp getInsertdate()
    {
        return insertdate;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    private MultipartFile file;
    private String typename;
    private String nickname;

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    private String photo;

    public Float getDownpay2() {
        return downpay2;
    }

    public void setDownpay2(Float downpay2) {
        this.downpay2 = downpay2;
    }

    //新增downpay2
    private Float downpay2;
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("topicid", getTopicid())
            .append("userid", getUserid())
            .append("title", getTitle())
            .append("word", getWord())
            .append("keyword", getKeyword())
            .append("typeid", getTypeid())
            .append("cover", getCover())
            .append("downpay", getDownpay())
            .append("discount", getDiscount())
            .append("totalpay", getTotalpay())
            .append("docnum", getDocnum())
            .append("size", getSize())
            .append("docs", getDocs())
            .append("readcount", getReadcount())
            .append("downcount", getDowncount())
            .append("note", getNote())
            .append("isimp", getIsimp())
            .append("isvip", getIsvip())
            .append("isdel", getIsdel())
            .append("insertdate", getInsertdate())
            .append("state", getState())
            .toString();
    }
}
